/*
 ------------------------------------------------------------------------------
 Copyright (C) 2009-2011 Eternal Games.

 This file is part of the Eternal Tech source code.

 The Eternal Tech source code is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or (at your
 option) any later version.

 The Eternal Tech source code is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 more details.

 You should have received a copy of the GNU General Public License along with
 the Eternal Tech source code; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 ------------------------------------------------------------------------------
*/


//
// color.h - Color math library
//


#if !defined(__COLOR_H__) || !INCLUDE_GUARDS
#define __COLOR_H__


#define COLOR_MASK						31

// Color indices
#define COLOR_DEFAULT					8

#define COLOR_BLACK						0
#define COLOR_RED						1
#define COLOR_GREEN						2
#define COLOR_BLUE						3
#define COLOR_YELLOW					4
#define COLOR_CYAN						5
#define COLOR_MAGENTA					6
#define COLOR_WHITE						7

typedef byte						color_t[4];

extern color_t						colorTable[32];


#else
FILE_WARNING
#endif   // __COLOR_H__